package com.baizhi.springboot.dao;

import com.baizhi.springboot.entity.Meeting;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MeetingDao {
    List<Meeting> selectMeetingByPage(@Param("offset")Integer offset, @Param("limit")Integer limit);

    Integer selectCount();

    void insertMeeting(Meeting meeting);

    void deleteMeeting(Integer id);

    Meeting selectOneMeeting(Integer id);

    void updateMeeting(Meeting meeting);
}
